package cn.ai.shoes.common.constant;

import cn.ai.shoes.client.entity.Shoe;

import java.util.Collections;
import java.util.LinkedHashMap;
import java.util.Map;

/**
 * 鞋类相关常量定义
 */
public class ShoeConstants {

    /**
     * 鞋类名称映射表 - 键和值相同
     */
    public static Map<String, Shoe> SHOE_MAP = new LinkedHashMap<>();

    static {
        Map<String, Shoe> tempMap = new LinkedHashMap<>();
        tempMap.put("乐福鞋",new Shoe("乐福鞋","https://oss-pai-3b983vijnp9enxr7lu-cn-shanghai.oss-cn-shanghai.aliyuncs.com/lore/lufu_shoes.jpg"));
        // tempMap.put("元素", new Shoe("元素", "element"));
        // tempMap.put("凉鞋", new Shoe("凉鞋", ""));
        tempMap.put("勃肯鞋", new Shoe("勃肯鞋", "https://oss-pai-3b983vijnp9enxr7lu-cn-shanghai.oss-cn-shanghai.aliyuncs.com/lore/buken_shoes.png"));
        tempMap.put("包头半鞋", new Shoe("包头半鞋", "https://oss-pai-3b983vijnp9enxr7lu-cn-shanghai.oss-cn-shanghai.aliyuncs.com/lore/baohai_shoes.jpg"));
        // tempMap.put("卡皮巴拉",new Shoe("卡皮巴拉", "kapibara"));
        // tempMap.put("女鞋", new Shoe("女鞋", "female_shoes"));
        tempMap.put("帆布鞋", new Shoe("帆布鞋", "https://oss-pai-3b983vijnp9enxr7lu-cn-shanghai.oss-cn-shanghai.aliyuncs.com/lore/canvas_shoes.jpg"));
        // tempMap.put("德训",new Shoe("德训", "de_tai"));
        tempMap.put("板鞋", new Shoe("板鞋", "https://oss-pai-3b983vijnp9enxr7lu-cn-shanghai.oss-cn-shanghai.aliyuncs.com/lore/board_shoes.jpg"));
        tempMap.put("椰子鞋", new Shoe("椰子鞋", "https://oss-pai-3b983vijnp9enxr7lu-cn-shanghai.oss-cn-shanghai.aliyuncs.com/lore/coconut_shoes.png"));
        tempMap.put("毛毛鞋", new Shoe("毛毛鞋", "https://oss-pai-3b983vijnp9enxr7lu-cn-shanghai.oss-cn-shanghai.aliyuncs.com/lore/mao_mao_shoes.jpg"));
        tempMap.put("渔夫鞋", new Shoe("渔夫鞋", "https://oss-pai-3b983vijnp9enxr7lu-cn-shanghai.oss-cn-shanghai.aliyuncs.com/lore/fisherman_shoes.jpg"));
        tempMap.put("玛丽珍鞋",new Shoe("玛丽珍鞋", "https://oss-pai-3b983vijnp9enxr7lu-cn-shanghai.oss-cn-shanghai.aliyuncs.com/lore/marry_shoes.jpg"));
        // tempMap.put("网面鞋",new Shoe("网面鞋", "net_shoes"));
        // tempMap.put("老爹鞋",new Shoe("老爹鞋", "dad_shoes"));
        // tempMap.put("芭蕾舞鞋", new Shoe("芭蕾舞鞋", "ballet_shoes"));
        tempMap.put("运动鞋", new Shoe("运动鞋lora", "https://oss-pai-3b983vijnp9enxr7lu-cn-shanghai.oss-cn-shanghai.aliyuncs.com/lore/sneakers.jpg"));
        tempMap.put("阿甘鞋", new Shoe("阿甘鞋", "https://oss-pai-3b983vijnp9enxr7lu-cn-shanghai.oss-cn-shanghai.aliyuncs.com/lore/frog_shoes.png"));
        tempMap.put("雪地鞋", new Shoe("雪地靴", "https://oss-pai-3b983vijnp9enxr7lu-cn-shanghai.oss-cn-shanghai.aliyuncs.com/lore/snow_shoes.png"));

        // 将临时Map转换为不可变Map
        SHOE_MAP = Collections.unmodifiableMap(tempMap);
    }

    // 私有构造函数，防止实例化
    private ShoeConstants() {}
}
